package io.renren.sf.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 *
 *
 * @author txw_cyl
 * @email sunlightcs@gmail.com
 * @date 2022-04-22 20:37:21
 */
@Data
@TableName("hz_city")
public class HzCityEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 城市id
	 */
	@TableId
	@ApiModelProperty(value = "城市id", dataType = "int")
	private Integer id;
	/**
	 * 父城市id
	 */
	@ApiModelProperty(value = "父城市id", dataType = "int")
	private Integer parentid;
	/**
	 * 城市名称
	 */
	@ApiModelProperty(value = "城市名称", dataType = "String")
	private String cityName;

	/**
	 *	子城市list
	 */
	@ApiModelProperty(value = "子城市list", dataType = "List<HzCityEntity>")
	List<HzCityEntity> cityList;
}
